import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import App from './App'

const root = createRoot(document.getElementById('root'))
root.render(
  /* 历史路由 */
  <BrowserRouter>
    <App />
  </BrowserRouter>

  /* 哈希路由 */
  //   <HashRouter>
  //     <App />
  //   </HashRouter>
)
